#!/usr/bin/env bash

if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
    echo "Stopping PiliPlus if running..."
    pkill -x piliplus || true
fi

exit 0
